package cate.game.role.show.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBBlog;
import cate.game.role.Role;
import cate.game.role.show.icon.HeadIconVO;
import easy.java.dev.note.NoteField;


@ClientMsg(title = "修改头像的 の 返回")
public class ModifyHeadIconResp implements MsgOutput {


    @NoteField("头像")
    public HeadIconVO headIcon;

    public ModifyHeadIconResp() {
    }

    public ModifyHeadIconResp(Role role) {
        this.headIcon = role.getBase().headIcon;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBBlog.MODIFY_HEAD_ICON_RESP;
    }
}
